package com.hcrazy.manchester.app.jdbc;

import com.hcrazy.manchester.app.pojo.LinkUs;

public class LinkUsDAO extends BaseDAO<LinkUs>{
	
	public void updateLinkUs(LinkUs LinkUs) throws Exception{
		String sql = "update him_more_linkus set infos = :infos where infoId=:infoId ";
		
		this.update(sql, LinkUs);
	}
	
	public LinkUs getLinkUs(int infoId) throws Exception{
		String sql = "select * from him_more_linkus where infoId = ?";
		return this.getJavaBean(sql, LinkUs.class,infoId);
	}
	

}
